package com.originskyseed.platform.user.model;

import java.math.BigDecimal;
import java.util.Date;

import com.originskyseed.platform.core.base.BaseModel;

/**
 * 主播直播信息表（OSI_ANCHOR_RELATE_LIVE）
 * 
 * @author Tangwanghui
 */
public class AnchorRelateLive extends BaseModel {

	/**
	 * 家族id（FAMILY_ID）
	 */
	private String familyId;

	/**
	 * 主播id（ANCHOR_ID）
	 */
	private String anchorId;

	/**
	 * 主播昵称（ANCHOR_NICK_NAME）
	 */
	private String anchorNickName;

	/**
	 * 房间id（ROOM_ID）
	 */
	private String roomId;

	/**
	 * 直播开始时间（START_TIME）
	 */
	private Date startTime;

	/**
	 * 直播结束时间（END_TIME）
	 */
	private Date endTime;

	/**
	 * 1 个人直播 2 公会排麦 3公会轮麦
	 */
	private Integer type;

	/**
	 * 房间id
	 */
	private String liveId;

	/**
	 * 直播时长 秒为单位
	 */
	private BigDecimal liveTime;


	//////////////////// 额外字段

	/**
	 * 总时长
	 */
	private String totalDuration;

	/**
	 * 观看人数
	 */
	private Integer watchNumber;

	/**
	 * 个人流水
	 */
	private BigDecimal personalAmount;

	/**
	 * 排麦流水
	 */
	private BigDecimal rowWheatAmount;

	/**
	 * 主播流水
	 */
	private BigDecimal amount;

	/**
	 * 家族收益
	 */
	private BigDecimal FamilyIncome;

	/**
	 * 获取家族id
	 *
	 * @return
	 */
	public String getFamilyId() {
		return this.familyId;
	}

	/**
	 * 设置家族id
	 *
	 * @param familyId
	 */
	public void setFamilyId(String familyId) {
		this.familyId = familyId;
	}

	/**
	 * 获取主播id
	 *
	 * @return
	 */
	public String getAnchorId() {
		return this.anchorId;
	}

	/**
	 * 设置主播id
	 *
	 * @param anchorId
	 */
	public void setAnchorId(String anchorId) {
		this.anchorId = anchorId;
	}

	/**
	 * 获取主播昵称
	 *
	 * @return
	 */
	public String getAnchorNickName() {
		return this.anchorNickName;
	}

	/**
	 * 设置主播昵称
	 *
	 * @param anchorNickName
	 */
	public void setAnchorNickName(String anchorNickName) {
		this.anchorNickName = anchorNickName;
	}

	/**
	 * 获取房间id
	 *
	 * @return
	 */
	public String getRoomId() {
		return this.roomId;
	}

	/**
	 * 设置房间id
	 *
	 * @param roomId
	 */
	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	/**
	 * 获取直播开始时间
	 *
	 * @return
	 */
	public Date getStartTime() {
		return this.startTime;
	}

	/**
	 * 设置直播开始时间
	 *
	 * @param startTime
	 */
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	/**
	 * 获取直播结束时间
	 *
	 * @return
	 */
	public Date getEndTime() {
		return this.endTime;
	}

	/**
	 * 设置直播结束时间
	 *
	 * @param endTime
	 */
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	/**
	 * 获取1 个人直播 2 公会排麦
	 *
	 * @return
	 */
	public Integer getType() {
		return this.type;
	}

	/**
	 * 设置1 个人直播 2 公会排麦
	 *
	 * @param type
	 */
	public void setType(Integer type) {
		this.type = type;
	}

	public String getLiveId() {
		return liveId;
	}

	public void setLiveId(String liveId) {
		this.liveId = liveId;
	}

	public String getTotalDuration() {
		return totalDuration;
	}

	public void setTotalDuration(String totalDuration) {
		this.totalDuration = totalDuration;
	}

	public Integer getWatchNumber() {
		return watchNumber;
	}

	public void setWatchNumber(Integer watchNumber) {
		this.watchNumber = watchNumber;
	}

	public BigDecimal getPersonalAmount() {
		return personalAmount;
	}

	public void setPersonalAmount(BigDecimal personalAmount) {
		this.personalAmount = personalAmount;
	}

	public BigDecimal getRowWheatAmount() {
		return rowWheatAmount;
	}

	public void setRowWheatAmount(BigDecimal rowWheatAmount) {
		this.rowWheatAmount = rowWheatAmount;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public BigDecimal getFamilyIncome() {
		return FamilyIncome;
	}

	public void setFamilyIncome(BigDecimal familyIncome) {
		FamilyIncome = familyIncome;
	}

	public BigDecimal getLiveTime() {
		return liveTime;
	}

	public void setLiveTime(BigDecimal liveTime) {
		this.liveTime = liveTime;
	}
}